#include "tables.h"

const byte q0t0Table[16] = {
0X8, 0X1, 0X7, 0XD, 0X6, 0XF, 0X3, 0X2, 0X0, 0XB, 0X5, 0X9, 0XE, 0XC, 0XA, 0X4
};
const byte q0t1Table[16] = {
0XE, 0XC, 0XB, 0X8, 0X1, 0X2, 0X3, 0X5, 0XF, 0X4, 0XA, 0X6, 0X7, 0X0, 0X9, 0XD
};
const byte q0t2Table[16] = {
0XB, 0XA, 0X5, 0XE, 0X6, 0XD, 0X9, 0X0, 0XC, 0X8, 0XF, 0X3, 0X2, 0X4, 0X7, 0X1
};
const byte q0t3Table[16] = {
0XD, 0X7, 0XF, 0X4, 0X1, 0X2, 0X6, 0XE, 0X9, 0XB, 0X3, 0X0, 0X8, 0X5, 0XC, 0XA
};



const byte q1t0Table[16] = {
0X2 ,0X8, 0XB, 0XD, 0XF, 0X7, 0X6, 0XE, 0X3, 0X1, 0X9, 0X4, 0X0, 0XA, 0XC, 0X5
};
const byte q1t1Table[16] = {
0X1, 0XE, 0X2, 0XB, 0X4, 0XC, 0X3, 0X7, 0X6, 0XD, 0XA, 0X5, 0XF, 0X9, 0X0, 0X8
};
const byte q1t2Table[16] = {
0X4, 0XC, 0X7, 0X5, 0X1, 0X6, 0X9, 0XA, 0X0, 0XE, 0XD, 0X8, 0X2, 0XB, 0X3, 0XF
};
const byte q1t3Table[16] = {
0XB, 0X9, 0X5, 0X1, 0XC, 0X3, 0XD, 0XE, 0X6, 0X4, 0X7, 0XF, 0X2, 0X0, 0X8, 0XA
};

const byte mds[16] = {
	0X01, 0XEF, 0X5B, 0X5B,
	0X5B, 0XEF, 0XEF, 0X01,
	0XEF, 0X5B, 0X01, 0XEF,
	0XEF, 0X01, 0XEF, 0X5B,
};

const byte rs[] = {
	0X01, 0XA4, 0X55, 0X87, 0X5A, 0X58, 0XDB, 0X9E,
	0XA4, 0X56, 0X82, 0XF3, 0X1E, 0XC6, 0X68, 0XE5,
	0X02, 0XA1, 0XFC, 0XC1, 0X47, 0XAE, 0X3D, 0X19,
	0XA4, 0X55, 0X87, 0X5A, 0X58, 0XDB, 0X9E, 0X03,
};

